package cn.jslancer.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author jslancer
 * @date 2017/11/4
 */
@Data
@Document
public class User extends Model {

    @Id
    private String id;

    private String username;
    private String password;

    private String email;

    private String avatar;
    private String description;

    /**
     * 0:未激活 1:激活 2:锁定
     */
    private Integer status;



}
